-- GENERATED SPELL FOR [Cabal Tomb-Raider] --


function spell0_21662(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(37685,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21662', 631, 1)
end

function Sorts_21662(pUnit, Event)
local choix_sorts_21662 = math.random(0, 0)
if choix_sorts_21662 == 0 then
pUnit:RegisterEvent('spell0_21662', 1, 1)
end
end

function mob21662_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21662', math.random(1500, 3000), 1)
end

function mob21662_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21662_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21662_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21662, 1, 'mob21662_Action')
RegisterUnitEvent(21662, 2, 'mob21662_Leave')
RegisterUnitEvent(21662, 3, 'mob21662_Kill')
RegisterUnitEvent(21662, 4, 'mob21662_Die')
